package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

import javax.xml.crypto.Data;
import java.util.Date;

public interface OrderService {

    //保存订单信息
    void save(Order order);



    //分页查询数据,没有根据
    Page<Order> findByPage(Integer pageNum, Integer pageSize);

    //分页查询订单信息
    Page<Order> findByPageOrder(Integer pageNum, Integer pageSize, Integer number, Date beginTime, Date endTime);

    //分页查询订单信息
//    Page<Order> findByPageOrder(String number, Date beginTime, Date endTime, Integer pageNum, Integer pageSize);
}
